var GetSet={};GetSet.override=function(options,defaults)
{var $this=options;for(var i in defaults)
{if(!($this[i]))
{$this[i]=defaults[i];}}};GetSet.getFunctions=function(template,recepient)
{for(var i in template)
{if(template[i].constructor==Function)
{recepient[i]=template[i];}}};GetSet.getters=function(options)
{var defaults={prefix:"get",camel:true};GetSet.override(options,defaults);options.prefix=(options.prefix==="none")?"":options.prefix;var str;for(var i in options.obj)
{if(options.camel&&options.prefix!="")
{str=i.charAt(0).toUpperCase()+ i.substr(1);}
else
{str=i;}
(function(i)
{options.scope[options.prefix+ str]=function()
{return options.obj[i];};})(i);}};GetSet.setters=function(options)
{var defaults={prefix:"set",camel:true};GetSet.override(options,defaults);options.prefix=(options.prefix==="none")?"":options.prefix;var str;for(var i in options.obj)
{if(options.camel&&options.prefix!="")
{str=i.charAt(0).toUpperCase()+ i.substr(1);}
else
{str=i;}
(function(i)
{options.scope[options.prefix+ str]=function(val)
{options.obj[i]=val;};})(i);}};